/*项目信息管理-详情-专户信息*/
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:frametrim/appviews/textUpPhoneView.dart';
import 'package:frametrim/appviews/textUpTextMarkView.dart';
import 'package:frametrim/utility/sq_color.dart';

import '../../appviews/lineToTextView.dart';
import '../../appviews/textUpTextView.dart';

class PeojectMessDetailsPage04 extends StatefulWidget {
  @override
  State<StatefulWidget> createState() => PeojectMessDetailsPage04State();
}

class PeojectMessDetailsPage04State extends State<PeojectMessDetailsPage04> {
  late ScrollPhysics physics = NeverScrollableScrollPhysics();

  @override
  Widget build(BuildContext context) {
    return Container(
      child: ListView.builder(
        padding: EdgeInsets.only(top: 0),
        itemBuilder: (context, index) {
          return buildWidget(index);
        },
        itemCount: 2,
      ),
    );
  }

  Widget buildWidget(int index) {
    return Column(
      crossAxisAlignment: CrossAxisAlignment.start,
      children: [
        LineToTextView(text1: "班组${index}"),
        TextUpTextMarkView('班组名称', '王力宏水电班组', '在场'),
        TextUpTextView('所属单位', '河南九九建筑工程有限公司'),
        TextUpTextView('责任人', '李书贵'),
        TextUpTextView('责任人身份证号码', '411421*********130'),
        TextUpPhoneView('责任人联系电话','', '15238612952'),
        TextUpTextView('责任人地址', '广东省肇庆市玉阳办事处东正街14号楼1单元203号'),
        TextUpTextView('在场人数', '6'),
        TextUpTextView('退场人数', '6'),
        TextUpTextView('进场时间', '2021-12-17 19:23:47'),
      ],
    );
  }
}
